import 'package:flutter/material.dart';

///bottomCenter 底部中心 0.5 1.0
///
void main() {
  runApp(const MaterialApp(
    title: 'Flutter第三天',
    home: LayoutDemo(),
  ));
}

class LayoutDemo extends StatelessWidget {
  const LayoutDemo({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('对齐'),
      ),
      body: Align(
        alignment: const FractionalOffset(0.82, 0.5),
        child: Image.asset('images/1.png',scale: 5.0,),
      ),
    );
  }
}
